@mainColor   : rgb(69, 210, 168);
@headerHeight: 88px;
@headerColor : rgba(0, 0, 0,0.3);

//媒体查询版心宽度设置以及样式修改
@media (max-width:992px) {
    .container {
        width: 750px;
    }
}

@media (min-width:992px) and (max-width:1200px) {
    .container {
        width: 960px;
    }
}

@media (min-width:1200px) {
    .container {
        width: 1080px;
    }
}
body {
    min-width: 750px!important;
}
//测试
.container {
    margin: 0px auto;
}
.index_container {
    padding-bottom: 20px;
    background-color: rgba(0, 0, 0,0.5);
}
// header部分
.czq_header {
    width           : 100%;
    height          : @headerHeight;
    position        : fixed;
    top             : 0;
    left            : 0;
    z-index: 999999;
    background-color: @headerColor;
    text-align: center;
    ul {
        margin-top: 14px;
        li {
            float: left;
            width: 80px;
            height: 60px;
            line-height: 60px;
            &.header-left-active {
                a{
                    color: @mainColor;
                }
            }
            a{
                display: block;
                width: 100%;
                height: 100%;
                font-size: 18px;
            }
            
        }
    }
    .logo-music {
        position: absolute;
        top: 5px;
        left: 50px;
        z-index: 99;
        width        : 78px;
        height       : 78px;
        box-shadow: 0 0 10px @mainColor;
        border-radius: 50%;
        cursor: pointer;
        transition: box-shadow 0.5s linear;
        overflow: hidden;
        &:hover {
            box-shadow: 0 0 10px red;
        }
    }
    .img-logo {
        z-index: 5;
    }
    @keyframes scaleImg {
        0%{
            transform: scale(1);
        }
        50%{
            transform: scale(1.2);
        }
        100%{
            transform: scale(1);
        }
    }
    .img-logo,
    .control-music {
        position: absolute;
        top: 0;
        left: 0;
        width        : 78px;
        height       : 78px;
        line-height: 78px;
        border-radius: 50%;
        transition: all 0.5s linear;
        backface-visibility:hidden;
        -webkit-backface-visibility:hidden;
    }
    .logo-music:hover .img-logo{
        transform: rotateY(180deg);
        -webkit-transform: rotateY(180deg);
    }
    .logo-music:hover .control-music {
        transform: rotateY(0deg);
        -webkit-transform: rotateY(0deg);
    }
    .control-music{
        background-color: #444;
        text-align: center;
        font-size: 25px;
        color: #ddd;
        transform: rotateY(180deg);
        -webkit-transform: rotateY(180deg);
    }
    .header-left,
    .header-right {
        height  : 100%;
        position: absolute;
        top     : 0;
    }

    .header-left {
        left: 130px;
    }
    .header-search {
        position: absolute;
        top: 29px;
        left: 450px;
        input {
            width: 200px;
            height: 30px;
            border-radius: 5px;
            font-size: 14px;
            padding-left: 20px;
        }
        span {
            position: absolute;
            top: 8px;
            left: 4px;
            font-size: 14px;
            color: #999;
        }
    }
    .header-right {
        right: 180px;
        .add-wechat:hover .img-wechat {
            display: block;
            transition: all 2s ease-in-out;
        }
        .img-wechat {
            position: absolute;
            top: 88px;
            left: 50px;
            width: 160px;
            height: 160px;
            display: none;
            
        }
        .add-qq:hover .img-qq {
            display: block;
        }
        .img-qq {
            position: absolute;
            top: 88px;
            left: 130px;
            width: 160px;
            display: none;
        }
    }
    .login-register {
        position: absolute;
        top: 24px;
        right: 50px;
        .login{
            color: #fff;
            width: 80px;
            height: 40px;
            line-height: 26px;
            background-color: @mainColor;
        }
    }
    .cur-user {
        position: absolute;
        top: 20px;
        right: 100px;
        .user-avatar {
            display: block;
            width: 50px;
            height: 50px;
            border-radius: 10%;
            img{
                width: 100%;
                height: 100%;
            }
        }
        .usermsg {
            display: none;
            position: absolute;
            top: 37px;
            left: 0px;
            border: 1px solid #fff;
            // &::before {
            //     content: '';
            //     display: block;
            //     width: 0;
            //     height: 0;
            //     border: 10px solid transparent;
            //     border-bottom-color: #fff;
            //     position: absolute;
            //     top: -20px;
            //     left: 0px;
            // }
            li {
                padding-left: 10px;
                width: 100px;
                height: 40px;
                line-height: 40px;
                text-align: left;
                background-color: rgba(0, 0, 0,0.3);
            }
        }
    }
}
.mainContent {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    .container {
        display: flex;
        padding-top: 50px;
        color: #ccc;
        .main-left {
            flex: 3;
            height: 100%;
            padding-right: 10px;
            border-right: 1px solid @mainColor;
            .main-left-top {
                display: block;
                width: 100%;
                border: 1px solid @mainColor;
                box-shadow: 1px 1px 2px @mainColor;
            }
            
            
        }
        .main-right {
            flex: 1;
            height: 100%;
            padding-top: 10px;
            padding-left: 10px;
            position: relative;
            .main-right-weather {
                width: 100%;
                padding-bottom: 10px;
                a {
                    display: block;
                    .weather {
                        display: block;
                        text-align: center;
                        font-size: 14px;
                        padding: 5px 0;
                        &.weather-img {
                            font-size: 40px;
                        }
                    }
                }
                border-bottom: 1px solid @mainColor;
            }
            .main-right-links{
                padding-left: 10px;
                padding-bottom: 10px;
                h3 {
                    font-size: 20px;
                    color: #fff;
                    font-weight: 700;
                    padding: 10px 0;
                }
                ul {
                    padding-left: 10px;
                    li {
                        padding: 5px 0;
                        font-size: 14px;
                        img {
                            width: 20px;
                            height: 20px;
                            vertical-align: middle;
                        }
                        &:hover {
                            padding-left: 10px;
                            transition: all 0.3s ease-out;
                        }
                    }
                }
                border-bottom: 1px solid @mainColor;
            }
        }
    }
}

.czq_footer {
    width: 100%;
    height: 130px;
    background-color: rgba(0,0,0,1);
    text-align: center;
    color: #ccc;
    padding-top: 20px;
    font-size: 14px;
    p {
        padding: 8px 0;
        img {
            vertical-align: middle;
        }
    }
    .span-add::after {
        content: "|";
        padding: 0 5px;
    }
}